package Dao;

import java.util.List;

import javax.persistence.TypedQuery;

import Basicas.Cliente;
import Exception.ErroLogarException;

public class DAOCliente extends DAOGenerico<Cliente> implements IDAOCliente {

	@Override
	public List<Cliente> clienteListarFindById(int num) {
		TypedQuery<Cliente> tq = getEntityManager().createNamedQuery("clienteFindById",Cliente.class);
		tq.setParameter("valor1", num);
		return tq.getResultList();
	}

	
}
